电商平台(微信支付提现单号)查询提现状态
电商平台通过该接口查询其提现结果。
请求参数 | 类型 | 描述 |
---|---|---|
withdraw_id | string | 微信支付提现单号 |
php
$instance->v3->merchant->fund->withdraw->withdrawId->_withdraw_id_->getAsync([
'withdraw_id' => '12321937198237912739132791732123',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/merchant/fund/withdraw/withdraw-id/{withdraw_id}')->getAsync([
'withdraw_id' => '12321937198237912739132791732123',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/merchant/fund/withdraw/withdraw-id/{withdraw_id}']->getAsync([
'withdraw_id' => '12321937198237912739132791732123',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->merchant->fund->withdraw->withdrawId->_withdraw_id_->get([
'withdraw_id' => '12321937198237912739132791732123',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/merchant/fund/withdraw/withdraw-id/{withdraw_id}')->get([
'withdraw_id' => '12321937198237912739132791732123',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/merchant/fund/withdraw/withdraw-id/{withdraw_id}']->get([
'withdraw_id' => '12321937198237912739132791732123',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
status | string | 提现单状态 |
withdraw_id | string | 微信支付提现单号 |
out_request_no | string | 商户提现单号 |
amount | integer | 提现金额 |
create_time | string | 发起提现时间 |
update_time | string | 提现状态更新时间 |
reason | string | 失败原因 |
remark | string | 提现备注 |
bank_memo | string | 银行附言 |
account_type | string | 出款账户类型 |
solution | string | 提现失败解决方案 |
参阅 官方文档